package net.wanho.shop.controller;

import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 这个类是：
 *
 * @author: MENG HU WANG
 * @date: 2025/1/6 13:54
 * @version: 1.0
 */

@RestController
@RequiredArgsConstructor
public class MapController {

    @GetMapping("baidu/map/geocoding")
    private String getGeocoding() {
        return "http://api.map.baidu.com/geocoding/v3/?address=北京市海淀区上地10街10号&output=json&ak=F0f0e0f0e0f0e0f0e0f0e0f0e0f0e0f0e";
    }
}
